﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="viewSymptom.aspx.cs" Inherits="FYP14.viewSymptom" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="adminpnl" runat="server">
    <div class="right_content">
        <h2>View All Symptoms    </h2>
        <asp:GridView ID="gvPurchase" runat="server" AutoGenerateColumns="False" CssClass="rounded-corner"
                    RowStyle-CssClass="gridRow" EditRowStyle-CssClass="gridEditRow"
                    FooterStyle-CssClass="gridFooterRow" OnRowDataBound="gvPurchase_RowDataBound" DataKeyNames="Sysmptom_id" 
                    AllowPaging="True" AllowSorting="True" onpageindexchanging="gvPurchase_PageIndexChanging" PageSize="20">
                    <AlternatingRowStyle CssClass="gridAltRow"></AlternatingRowStyle>
                    <columns>
                        <asp:BoundField DataField="Sysmptom_id" HeaderText="ID"/>
                        <%--<asp:BoundField DataField="medicine_prescription_id" HeaderText="Prescription ID"/>
                        <asp:BoundField DataField="medicine_type" HeaderText="Medicine Type"/>--%>
                        <asp:BoundField DataField="name_of_Symptom" HeaderText="Symptom Name"/>
                        <%--<asp:BoundField DataField="generic_name" HeaderText="Generic Name"/>
                        <asp:BoundField DataField="chemical_name" HeaderText="Chemical Name"/>
                        <asp:BoundField DataField="potency" HeaderText="Potency"/>
                        <asp:BoundField DataField="dosage_form" HeaderText="Dosage Form"/>--%>
                        <%--<asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkEdit" runat="server" onclick="lnkRemove_Click" CommandArgument='<%# Eval("v") %>'>Edit</asp:LinkButton>
                            </ItemTemplate>
                         </asp:TemplateField>--%>
                     </columns>
                    <EditRowStyle CssClass="gridEditRow"></EditRowStyle>
                    <FooterStyle CssClass="gridFooterRow"></FooterStyle>
                    <RowStyle CssClass="gridRow"></RowStyle>
                    <PagerSettings FirstPageText="First" LastPageText="Last" NextPageText="Next" PreviousPageText="Previous" />
                    <PagerStyle CssClass="grid_paging" />
                </asp:GridView>
        </div>
</asp:Content>
